branchbefore/main/TimeRange refactor.cancel
7 Commits over 0 Days - ∞cph!
Moved time range functionality over to using DateTime/TimeSpan.
Removed PeakTime from Score and TimeRangeParams. PeakHour is still used, but only by editor.
Current Time should only add a day if it's hour is less than the start time hour, and the end time day is greater than the start time day.
Added an EvaluateSimple function to ResponseCurve API, which only evaluates using the simplest form possible of the curve type specified (only support linear functions and normal distribution right now). Doesn't allow the tweaking of slope, exponential, and hor/vert shifts.
Unit test of Time Range and fixes for the stuff it unveiled.
Time Range Score now takes current hour and current minute, for a smoother score over time.